home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / um / Kconfig.debug < prev    next >
Encoding:
Text File  |  2008-12-24  |  1.0 KB  |  41 lines

  1. menu "Kernel hacking"
  2.  
  3. source "lib/Kconfig.debug"
  4.  
  5. config GPROF
  6.     bool "Enable gprof support"
  7.     depends on DEBUG_INFO && FRAME_POINTER
  8.     help
  9.       This allows profiling of a User-Mode Linux kernel with the gprof
  10.       utility.
  11.  
  12.       See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  13.       details.
  14.  
  15.       If you're involved in UML kernel development and want to use gprof,
  16.       say Y.  If you're unsure, say N.
  17.  
  18. config GCOV
  19.     bool "Enable gcov support"
  20.     depends on DEBUG_INFO
  21.     help
  22.       This option allows developers to retrieve coverage data from a UML
  23.       session.
  24.  
  25.       See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
  26.       details.
  27.  
  28.       If you're involved in UML kernel development and want to use gcov,
  29.       say Y.  If you're unsure, say N.
  30.  
  31. config DEBUG_STACK_USAGE
  32.     bool "Stack utilization instrumentation"
  33.     default N
  34.     help
  35.       Track the maximum kernel stack usage - this will look at each
  36.       kernel stack at process exit and log it if it's the deepest
  37.       stack seen so far.
  38.  
  39.       This option will slow down process creation and destruction somewhat.
  40. endmenu
  41.